package com.tdkj.model.yellowpage;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyEnterprise entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_enterprice")
public class BeanEnterprice extends BaseEntity{

	// Fields
	private String enterpricename;//企业名称
	private Timestamp createtime;//注册时间
	private String description;//企业描述
	private String industry;//产业
	private String mainproduc;//主营业务
	private String telephone;//联系电话
	private String fax;//企业传真
	private String address;//企业地址
	private Long registeredcapital;//企业名称
	private String area;//所属地区
	private String link;//企业名称
	private String linkman;//企业名称
	private String phone;//企业名称
	private String linkaddress;//
	private String businessscope;//业务范围
	private String product;//企业产品
	private String email;//企业邮件

	// Constructors

	/** default constructor */
	public BeanEnterprice() {
	}

	/** minimal constructor */
	public BeanEnterprice(long id) {
		this.setId(id);
	}

	/** full constructor */
	public BeanEnterprice(long id,String enterpricename, Timestamp createtime,
			String description, String industry, String mainproduc,
			String telephone, String fax, String address,
			Long registeredcapital, String area, String link, String linkman,
			String phone, String linkaddress, String businessscope,
			String product, String email) {
		this.setId(id);
		this.enterpricename = enterpricename;
		this.createtime = createtime;
		this.description = description;
		this.industry = industry;
		this.mainproduc = mainproduc;
		this.telephone = telephone;
		this.fax = fax;
		this.address = address;
		this.registeredcapital = registeredcapital;
		this.area = area;
		this.link = link;
		this.linkman = linkman;
		this.phone = phone;
		this.linkaddress = linkaddress;
		this.businessscope = businessscope;
		this.product = product;
		this.email = email;
	}
	
	@Column(name = "enterpricename", length = 40)
	public String getEnterpricename() {
		return this.enterpricename;
	}

	public void setEnterpricename(String enterpricename) {
		this.enterpricename = enterpricename;
	}

	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "description", length = 200)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "industry", length = 40)
	public String getIndustry() {
		return this.industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	@Column(name = "mainproduc", length = 200)
	public String getMainproduc() {
		return this.mainproduc;
	}

	public void setMainproduc(String mainproduc) {
		this.mainproduc = mainproduc;
	}

	@Column(name = "telephone", length = 40)
	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	@Column(name = "fax", length = 40)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "address", length = 200)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "registeredcapital", precision = 10, scale = 0)
	public Long getRegisteredcapital() {
		return this.registeredcapital;
	}

	public void setRegisteredcapital(Long registeredcapital) {
		this.registeredcapital = registeredcapital;
	}

	@Column(name = "area", length = 100)
	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	@Column(name = "link", length = 40)
	public String getLink() {
		return this.link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	@Column(name = "linkman", length = 40)
	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	@Column(name = "phone", length = 40)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "linkaddress", length = 200)
	public String getLinkaddress() {
		return this.linkaddress;
	}

	public void setLinkaddress(String linkaddress) {
		this.linkaddress = linkaddress;
	}

	@Column(name = "businessscope", length = 200)
	public String getBusinessscope() {
		return this.businessscope;
	}

	public void setBusinessscope(String businessscope) {
		this.businessscope = businessscope;
	}

	@Column(name = "product", length = 40)
	public String getProduct() {
		return this.product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	@Column(name = "email", length = 40)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}